package com.zhongke.cotrun.controller;

import com.zhongke.cotrun.common.util.APIResponse;
import com.zhongke.cotrun.mapper.ServiceTypeMapper;
import com.zhongke.cotrun.service.ServiceTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/servicType")
public class ServicTypeController {


    @Autowired
    ServiceTypeService serviceTypeService;
@GetMapping("/selectServiceType")
    public APIResponse selectServiceType() {


        return APIResponse.returnSuccess(serviceTypeService.selectServiceType());

    }

}
